<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div role="tabpanel" class="tab-pane fade" id="AllDormBuildings">
    <br/>
    <div class="row">
        <!-- Single button -->
        <div class="col-lg-3"></div>
        <div class="col-lg-4">
            <div class="input-group">
                <input type="text" class="form-control" placeholder="Search for..." id="adb-search">
                <span class="input-group-btn">
					<button class="btn btn-default" type="button" id="adb-search-button"
                            onclick="javascript:adb_load_search()">Go!</button>
				</span>
            </div>
        </div>
        <div class="col-lg-5">
            <div style="float:right">
                <button type="button" id="" data-toggle="modal" data-target="#adb-myModal1"
                        class="btn btn-primary btn-warning">
                    添加新宿舍楼 <span class="glyphicon glyphicon-plus"></span>
                </button>
            </div>
        </div>
    </div>

    </br>
    <div class="panel panel-default">

        <div class="panel-heading">Information details</div>

        <table class="table" id="adb-table">
            <tr>
                <th>宿舍楼名</th>
                <th>房间人数</th>
                <th>学生人数</th>
                <th>#</th>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
            <tr>
                <td>栎苑-4号楼</td>
                <td>100</td>
                <td>400</td>
                <td>
                    <button type="button" class="btn btn-primary btn-success">修改</button>
                    <button type="button" class="btn btn-primary btn-danger">删除</button>
                </td>
            </tr>
        </table>
    </div>

    <div class="row">
        <div style="float: right">
            <div>
                当前第 <span id="adb-current">1</span> 页 总计 <span id="adb-pages">0</span> 页 共 <span id="adb-total">0</span>
                条数据
            </div>
            <nav aria-label="Page navigation">
                <ul class="pagination" id="adb-pagination">
                    <li><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
                    <li class="active"><a href="#">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li><a href="#" aria-label="Next"><span aria-hidden="true">&raquo;</span></a></li>
                </ul>
            </nav>
        </div>
    </div>

    <form class="form-horizontal" role="form" id="adb-db-form" style="margin: 20px;">
        <div class="modal fade" id="adb-myModal1" tabindex="-1" role="dialog"
             aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                        <h4 class="modal-title">
                            新宿舍楼信息
                        </h4>
                    </div>
                    <div class="modal-body">
                        <form class="form-horizontal" role="form">
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">宿舍楼名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="adb-content-dbname" name="dbname" placeholder="请输入宿舍楼名...">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">房间数量</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" name="roomNumber" placeholder="请输入房间数量...">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-3 control-label">学生数量</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" name="studentNumber"
                                           placeholder="请输入学生数量...">
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                        </button>
                        <button type="submit" class="btn btn-primary" id="adb-submit1">
                            提交
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </form>

    <div id="adb-other-modal"></div>
</div>
</body>
</html>